343077
@@ -1,5 +1,5 @@
 /*
- * Copyright 2004-2011 the original author or authors.
+ * Copyright 2004-2012 the original author or authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -15,6 +15,7 @@
  */
 package org.springframework.faces.webflow;
 
+import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collection;
 
@@ -55,7 +56,7 @@
public class FlowPartialViewContext extends PartialViewContextWrapper {
 			RequestContext requestContext = RequestContextHolder.getRequestContext();
 			String[] fragmentIds = (String[]) requestContext.getFlashScope().get(View.RENDER_FRAGMENTS_ATTRIBUTE);
 			if (fragmentIds != null && fragmentIds.length > 0) {
-				return Arrays.asList(fragmentIds);
+				return new ArrayList<String>(Arrays.asList(fragmentIds));
 			}
 		}
 		return getWrapped().getRenderIds();
